package cn.mesmile.sharding;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author zb
 * @date 2021/8/8 15:31
 * @Description
 *              视频  https://www.bilibili.com/video/BV1LK411s7RX?p=20
 *              下载包 https://shardingsphere.apache.org/document/legacy/4.x/document/cn/downloads/
 *              https://repository.sonatype.org/index.html#nexus-search;quick~sharding-jdbc-spring-boot-start
 *              https://segmentfault.com/a/1190000038241298
 *              https://shardingsphere.apache.org/document/legacy/4.x/document/cn/manual/sharding-jdbc/configuration/config-spring-boot/
 */
@MapperScan("cn.mesmile.sharding.modular.*.mapper")
@SpringBootApplication
public class ShardingApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShardingApplication.class, args);
    }
}
